package com.ztewatch.wearcontacts.receiver;

import java.util.ArrayList;

import com.ztewatch.wearcontacts.data.SimpleContactData;
import com.ztewatch.wearcontacts.presenter.LGUContactDataPresenter;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class LGUContactDataActionReceiver extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
		String action = intent.getAction();
		if (LGUContactDataPresenter.LGU_PHONEBOOK_GETBROADCAST_ACTION
				.equals(action)) {
			ArrayList<SimpleContactData> contactDatas = (ArrayList<SimpleContactData>) intent
					.getSerializableExtra(LGUContactDataPresenter.CONTACT_LIST_EXTRA);
		}
	}

}
